package com.loader.loader2;

/**
 * 在构造方法中调用多态方法，会调用导出类的方法
 *
 * @author dell
 *
 */
public class RoundGlyph2 extends RoundGlyph {

	private int radius = 1;

	RoundGlyph2(int r) {
		super(r);
		radius = r;
		System.out.println("5、RoundGlyph2.RoundGlyph(), radius=" + radius);
	}

	void draw() {
		System.out.println("2、RoundGlyph2.draw(), radius=" + radius);
	}

	public static void main(String[] args) {
		new RoundGlyph2(50);
	}

}
